﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Service.Enums;

namespace WCS_Service.DomianService.Models
{
    public class ClientDataReceiveEventArgs
    {
        public ClientDataReceiveEventArgs(Memory<byte> packet)
        {
            Data = packet;
        }

        public Memory<byte> Data { get; private set; }
    }
    public class ClientSideDisConnectEventArgs
    {
        public int autoEquipmentId { get; private set; }
        public string equipmentType { get; private set; }
        public DisConnectReason Reason { get; private set; }
        public ClientSideDisConnectEventArgs(DisConnectReason disConnectReason, 
            string equipmentType,
            int autoEquipmentId)
        {
            Reason = disConnectReason;
            this.equipmentType = equipmentType;
            this.autoEquipmentId = autoEquipmentId;
        }
    }
}
